package cn.aitrox.ry.service.config.dto.in;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class LesionCreateInDto {

    @NotEmpty(message = "名称不能为空")
    private String name;

    @NotEmpty(message = "编码不能为空")
    private String value;

    private String color;

    @NotNull(message = "种类不能为空")
    private Boolean groupFlag;

    private List<LesionInDto> childs;
}
